package org.example.model.activity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.sql.Timestamp;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("agenda_sub")
public class AgendaSub {
    @TableId(value = "agenda_sub_id",type = IdType.AUTO)
    private Integer pkId;//用户议程订阅id
    private Integer agendaId;
    private Integer userId;
    private Date subscriptionTime;
    private Integer subscribed;//是否取消，0为取消，1为订阅
}
